﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SU.DomainModel.Entity;

namespace SU.DomainModel.Repository {
    public interface IFunctionRoleRepository : IRepository<FunctionRole> {
        bool IsAllowed(string url, string roleID, string userID);
        IEnumerable<Function> FunctionsByRole(string roleID);
    }
}
